
<!doctype html>
<!--HTML5 doctype-->
<html>
<head>
<title>Tui_Mobile</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no">
<!--框架开始-->

<!--框架结束-->
<link rel="stylesheet" type="text/css" id="skin" href="../skin/style.css"/>
<script type="text/javascript" src="../../skin/js/public.js"></script>
<script type="text/javascript" src="../../skin/js/validate.js" ></script>

		<script type="text/javascript">
		function validateUserName(){
			var userName = $("#userName").val();
			if(userName == ""||userName==null) {
				alert("111122221")
				return false;
			}else if(!(/^[\u4E00-\u9FA5]{2,4}$/.test(userName))){
				alert("11111")
			}
		}
	</script>
</head>

<body>



<h2>选择时间</h2>
<div class="example">
	<script type="text/javascript">
		$(function () {
			$("#test_default2").mobiscroll().time({preset : 'date'});
		});
	</script>
    <input type="text" class="input_text"  placeholder="请选择时间" name="test_default2"  id="userName"/>
    <div style="width: 20px;height: 100px;" onclick="validateUserName()">2222</div>
</div>



</body>
</html>
